package com.monitor.web.common.token;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author sunke
 * @Date 2020/12/21 09:47
 * @description 员工token
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

public class StaffToken extends Token {


    //小程序
    private String maOpenId;

    //公众号
    private String mpOpenId;

    private String unionId;


    private String staffId;

    private String username;
    private String phone;
    private String truename;
    private int jobFlag;
    private int disable;
    private List<String> deptId;
    private List<String> deptName;
    private String wxSessionKey;


    private Integer singleLoginFlag=1;

  /*  private List<String> rightsBackList;*/
/*    private List<String> rightsFrontList;*/

    private Integer typeFlag;


    private BigDecimal discount=new BigDecimal(100);


}
